package com.ld.rightsSystem.vo;

import com.ld.rightsSystem.pojo.TPermission;
import com.ld.rightsSystem.pojo.TRole;

import java.util.Date;
import java.util.List;

public class TRoleVO extends TRole {
    private List<Long> permissionIds;

    public TRoleVO() {
    }

    public TRoleVO(String createBy, Date createTime, String updateBy, Date updateTime, String remark, int status, int delStatus, Long roleId, String roleName, String roleCode, Integer roleOrder, List<Long> permissionIds) {
        super(createBy, createTime, updateBy, updateTime, remark, status, delStatus, roleId, roleName, roleCode, roleOrder);
        this.permissionIds = permissionIds;
    }

    public List<Long> getPermissionIds() {
        return permissionIds;
    }

    public void setPermissionIds(List<Long> permissionIds) {
        this.permissionIds = permissionIds;
    }

    @Override
    public String toString() {
        return "TRoleVO{" +
                "permissionIds=" + permissionIds +
                '}';
    }
}
